package com.rpcdemo.constant;

/**
 * create by yongli on 2021-12-26 08:11
 */

public class SysConstant {
    /**
     * 应用编码
     */
    public static final String APP_CODE = "SANY0001";

    /**
     * 参数名称：应用编码
     */
    public static final String PARAM_NAME_CURRENT_APP = "current_app";

    /**
     * 参数名称：租户ID
     */
    public static final String PARAM_NAME_CURRENT_TENANT = "current_tenant";

    /**
     * 参数名称：令牌
     */
    public static final String PARAM_NAME_APP_TOKEN = "app_token";

    /**
     * 参数名称：请求源
     */
    public static final String PARAM_NAME_REQ_SOURCE = "req_source";

    /**
     * 后端请求令牌
     */
    public final static String APP_TOKEN = "6c80ff93c2be4147996c20b2db5a6e5a";

    /**
     * 请求来源：移动端
     */
    public final static String REQ_SOURCE_MOBILE = "mobile";

    /**
     * 请求来源：移动端
     */
    public final static String REQ_SOURCE_WEB = "web";

    /**
     * 加密签名
     */
    public final static String SYS_SIGN = "s123@j9sa2.adf%^&*kjasdf798%913!";

    // 访问成功标志
    public final static String REQUEST_SUCCESS_KEY = "success";
    public final static String REQUEST_EXCEPTION_MESSAGE_KEY = "message";
    public final static String REQUEST_EXCEPTION_SYSTEM = "ERROR_SYSTEM";
    public final static String REQUEST_CURRENT_PAGE_ID = "currentPageId";


    //[Excel上传文件规范]
    public static final String EXCEL_SUFFIX_2003 = ".xls";
    public static final String EXCEL_SUFFIX_2007 = ".xlsx";

    //SAAS 平台 headers 状态码
    public static final String SAAS_HEADERS_STATUS_CODE = "status_code";
    public static final String SAAS_HEADERS_STATUS_MSG = "status_msg";
    public static final String SAAS_HEADERS_STATUS_CODE_200 = "200";
}
